<div class="jl_top">
   <div class="home_cont3_top"><span class="ft8"><span class="ft9">查看评论</span></span></div>
</div>
<div class="ms_bottom">
     <!--All_message-->
	 <?php if(count($comments)){  ?>
     <table width="610" cellspacing="0" align="center" class="all_ms_xx">
	 <?php $n = count($comments); for ($i = 0; $i < $n; $i++): ?>
	   <tr<?php ($i + 1) % 2 and print ' class="odd"' ?>>
         <td><em><?php echo $comments[$i]->getCreatedAt() ?></em> <span><?php echo $comments[$i]->getName() ?>:</span>
           <p><?php echo $comments[$i]->getComment() ?></p></td>
       </tr>
	 <?php endfor ?>
     </table>
     <?php }else {echo "<p align=center>暂时没有评论！</p>";} ?>
     <!--Page Size-->
     <div class="jl_pagesize">
       <?php include_partial('articleCommentPager/pager', array(
          'pager' => $pager,
		  'articleid' => $articleid,
          'route' => 'article_showcomments'
        )) ?>
     </div>
  <div class="all_ms_title">我要评论</div>
    <div style="margin-left:20px;">
         <?php include_partial('Comment/form', array(
          'form' => $form,
          'articleId' => $articleid
        )) ?>
    </div>
  </div>